{namespace doc=TYPO3\CMS\Documentation\ViewHelpers}

<f:layout name="Default"/>

<f:section name="docheader-buttons">

</f:section>

<f:section name="module-headline">
	<h1><f:translate key="downloadDocumentation">Download Documentation</f:translate></h1>
</f:section>

<f:section name="Content">

	<div class="headerRow ui-helper-clearfix">
		<div class="typo3-documentation-headerRowLeft">
		</div>
		<div class="typo3-documentation-headerRowRight">
		</div>
	</div>
	<table id="typo3-documentation-download" class="typo3-documentation-list">
		<thead>
		<tr>
			<th><f:translate key="documentation.title" /></th>
			<th><f:translate key="documentation.shortcut" /></th>
			<th><f:translate key="documentation.type" /></th>
			<th><f:translate key="documentation.actions" /></th>
		</tr>
		</thead>
		<tbody>
		<f:for each="{documents}" as="document">
			<tr id="{document.key}" >
				<td class="title">
					<img src="../{document.icon}" title="{document.title}" alt="{document.title}" />
					{document.title}
				</td>
				<td>{document.shortcut}</td>
				<td>{document.type}</td>
				<td class="icons">
					<doc:link.action action="fetch" arguments="{url:document.url, key:document.key, version:document.version}" title="{f:translate(key:'documentation.actions.download')}">
						<span class="t3-icon t3-icon-actions t3-icon-system-extension-download">&nbsp;</span>
					</doc:link.action>
				</td>
			</tr>
		</f:for>
		</tbody>
	</table>

</f:section>